package com.example.mallproduct.fegin;

import com.common.utils.R;
import com.dto.BoundsDTO;
import com.dto.SkuFullReductionDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author guanglin.ma
 * @date 2023-12-11 20:29
 */
@FeignClient("mall-coupon")
public interface CouponFeginService {

    @PostMapping("/mallcoupon/skufullreduction/save-info")
    R saveFullSkuReduction(@RequestBody SkuFullReductionDTO skuFullReductionDTO);

    @PostMapping("/mallcoupon/spubounds/save-bound")
    R saveBound(@RequestBody BoundsDTO boundsDTO);
}
